Smush\Core\Modules\Backup B

Total Complexity 86
Dependencies 4
Dependents 1
Total lines 560
Lines of code 295
Logical lines of code 183
Comment lines 169
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
restore_image()
D
29 33 118
create_backup()
A
50 11 29
restore_png()
A
49 8 30
delete_backup_files()
A
51 8 26
add_to_image_backup_sizes()
S
52 7 24
remove_from_backup_sizes()
S
60 6 13
restore_step()
S
56 4 16
get_attachments_with_backups()
S
61 3 13
get_image_backup_path()
S
64 3 10
init()
S
72 1 5
skip_as3cf_url_get_attached_file()
S
82 1 3
get_image_count()
S
69 1 8